package net.muchine.web.support;

import java.util.ArrayList;
import java.util.List;

import org.springframework.stereotype.Component;

import net.muchine.web.front.forms.Link;

@Component("webCodes")
public class Codes extends net.muchine.core.support.Codes {
	public List<Link> getAdminMenus() {
		List<Link> adminMenus = new ArrayList<Link>();
		adminMenus.add(new Link("/admin/projects", "projects", "Projects"));
		adminMenus.add(new Link("/admin/users", "users", "Users"));
		adminMenus.add(new Link("/admin/groups", "groups", "Groups"));
		adminMenus.add(new Link("/admin/roles", "roles", "Roles and permissions"));
		adminMenus.add(new Link("/admin/trackers", "trackers", "Trackers"));
		adminMenus.add(new Link("/admin/issue_statuses", "issue_statuses issue-statuses", "Issue statuses"));
		adminMenus.add(new Link("/admin/workflows/edit", "workflows", "Workflow"));
		adminMenus.add(new Link("/admin/custom_fields", "custom_fields custom-fields", "Custom fields"));
		adminMenus.add(new Link("/admin/enumerations", "enumerations", "Enumerations"));
		adminMenus.add(new Link("/admin/settings", "settings", "Settings"));
		adminMenus.add(new Link("/admin/auth_sources", "server_authentication ldap-authentication", "LDAP authentication"));
		adminMenus.add(new Link("/admin/plugins", "plugins", "Plugins"));
		adminMenus.add(new Link("/admin/info", "info", "Information"));
		
		return adminMenus;
	}
}
